<template>
  <div class="cain-dashboard-left-tool-card-item">
    <div class="cain-dashboard-tool-card-item-header">
      <div class="cain-dashboard-tool-card-item-header-icon">
        <FileFilled />
      </div>

      <MoreOutlined />
    </div>
    <div class="cain-dashboard-tool-card-item-content">
      <p>项目数量</p>
      <a-progress :percent="50" :show-info="false" />
    </div>
    <div class="cain-dashboard-tool-card-item-bottom">
      <div>11111</div>
      <div>20120</div>
    </div>
  </div>
</template>

<script lang="ts" setup>
import { FileFilled, MoreOutlined } from "@ant-design/icons-vue";
</script>

<style lang="scss">
.cain-dashboard-left-tool-card-item {
  @media screen and (max-width: 1350px) {
    flex: 0 0 48.4% !important;
  }
  @media screen and (max-width: 640px) {
    flex: 0 0 100% !important;
  }
  flex: 0 0 23.8%;
  height: 150px;
  border: 1px #daeaef solid;
  background-color: #ffffff;
  border-radius: 10px;
  cursor: pointer;
  transition: box-shadow 0.3s;
  box-sizing: border-box;
  padding: 20px;
  &:hover {
    box-shadow: 0 0 #0000, 0 0 #0000, -0 0 #0000, 0 0 #0000,
      0 4px 10px -1px rgb(0 0 0 / 0.1), 0 2px 4px -1px rgb(0 0 0 / 0.06);
  }
  .cain-dashboard-tool-card-item-header {
    display: flex;
    justify-content: space-between;
    svg {
      width: 20px;
      height: 20px;
    }
  }
  .cain-dashboard-tool-card-item-content {
    padding-top: 10px;
    p {
      font-size: 16px;
      font-weight: bold;
    }
    padding-bottom: 10px;
  }
  .cain-dashboard-tool-card-item-bottom {
    display: flex;
    justify-content: space-between;
  }
}
</style>
